import {SAVE_CHECKED_KEYS, SAVE_EXPORT_OBJ, SAVE_SCALE_INDEX, SAVE_BARCHART, SAVE_EXPORT_OBJ_CN} from "./constants";

export const saveExportObj = exportObj => ({
  type: SAVE_EXPORT_OBJ,
  exportObj
});

export const saveExportObjCn = exportObjCn => ({
  type: SAVE_EXPORT_OBJ_CN,
  exportObjCn
});

export const saveReduxCheckedKeys = reduxCheckedKeys => ({
  type: SAVE_CHECKED_KEYS,
  reduxCheckedKeys
});

export const saveScaleIndex = scaleIndex => ({
  type: SAVE_SCALE_INDEX,
  scaleIndex
});
export const saveBar_chart = barChart => ({
  type: SAVE_BARCHART,
  barChart
});
